Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 206.1 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2468/0.2468, allocations: 46.95 MB / 361.7 MB, free: 4.285 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 76.12 kB / 0.4969 GB, free: 7.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3265, allocations: 66.03 MB / 0.5614 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002881/0.3294, allocations: 1.744 MB / 0.5631 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001558/0.3295, allocations: 75.67 kB / 0.5632 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.851e-05/0.3296, allocations: 4 kB / 0.5632 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.889e-05/0.3296, allocations: 11.86 kB / 0.5632 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.48e-05/0.3297, allocations: 23.78 kB / 0.5632 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.04e-05/0.3298, allocations: 19.97 kB / 0.5632 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.3299, allocations: 103.6 kB / 0.5633 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.3301, allocations: 51.27 kB / 0.5634 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.615e-05/0.3301, allocations: 47.8 kB / 0.5634 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.36e-05/0.3302, allocations: 43.78 kB / 0.5635 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.3302, allocations: 12 kB / 0.5635 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.713e-05/0.3302, allocations: 12 kB / 0.5635 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.933e-05/0.3303, allocations: 23.92 kB / 0.5635 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.3303, allocations: 51.8 kB / 0.5636 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.3305, allocations: 119.5 kB / 0.5637 GB, free: 2.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3305, allocations: 3.938 kB / 0.5637 GB, free: 2.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3305, allocations: 0 / 0.5637 GB, free: 2.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3305, allocations: 4 kB / 0.5637 GB, free: 2.176 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004513/0.331, allocations: 326.2 kB / 0.564 GB, free: 1.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.331, allocations: 8.031 kB / 0.564 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.049e-05/0.331, allocations: 4.422 kB / 0.564 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.195e-05/0.3311, allocations: 46.73 kB / 0.5641 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.3311, allocations: 12.84 kB / 0.5641 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.971e-05/0.3312, allocations: 114.4 kB / 0.5642 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3312, allocations: 8.609 kB / 0.5642 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.3312, allocations: 16.38 kB / 0.5642 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.3315, allocations: 125.3 kB / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3315, allocations: 0 / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3315, allocations: 8 kB / 0.5643 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3315, allocations: 4 kB / 0.5643 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.3316, allocations: 67.91 kB / 0.5644 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008147/0.3324, allocations: 0.6875 MB / 0.5651 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.43e-05/0.3325, allocations: 173.1 kB / 0.5652 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.729e-05/0.3325, allocations: 80.14 kB / 0.5653 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-05/0.3326, allocations: 83.27 kB / 0.5654 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/0.3326, allocations: 109.8 kB / 0.5655 GB, free: 164 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3326, allocations: 0 / 0.5655 GB, free: 164 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.8e-05/0.3327, allocations: 29.7 kB / 0.5655 GB, free: 128 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.553e-05/0.3328, allocations: 138.6 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.3329, allocations: 155.8 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.333, allocations: 25.7 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.149e-05/0.333, allocations: 131.8 kB / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.333, allocations: 0 / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.3331, allocations: 21.67 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3332, allocations: 314.8 kB / 0.5663 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/0.3332, allocations: 11.98 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.916e-05/0.3333, allocations: 37.16 kB / 0.5663 GB, free: 15.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.509e-05/0.3334, allocations: 53.09 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3334, allocations: 0 / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001504/0.3335, allocations: 77.56 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3335, allocations: 11.94 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3335, allocations: 4.109 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3335, allocations: 11.94 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.076e-05/0.3336, allocations: 8 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3336, allocations: 0 / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.854e-05/0.3337, allocations: 11.89 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.3337, allocations: 4 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.3338, allocations: 201.3 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.189e-05/0.3339, allocations: 113.9 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.296e-05/0.3339, allocations: 120.6 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.996e-05/0.334, allocations: 180.2 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.955e-05/0.3341, allocations: 176.3 kB / 0.5672 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.168e-05/0.3342, allocations: 184.2 kB / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.3345, allocations: 416.2 kB / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.492e-05/0.3345, allocations: 105 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.908e-05/0.3346, allocations: 104.9 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.867e-05/0.3346, allocations: 176.4 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-05/0.3347, allocations: 180.3 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.221e-05/0.3348, allocations: 188.2 kB / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.594e-05/0.3349, allocations: 184.2 kB / 0.5687 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.335, allocations: 311.7 kB / 0.569 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.3351, allocations: 108.9 kB / 0.5691 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.3352, allocations: 196.2 kB / 0.5693 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.199e-05/0.3353, allocations: 101 kB / 0.5694 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.868e-05/0.3354, allocations: 188.1 kB / 0.5696 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.3354, allocations: 101 kB / 0.5697 GB, free: 11.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.073e-05/0.3355, allocations: 118.2 kB / 0.5698 GB, free: 11.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3355, allocations: 0 / 0.5698 GB, free: 11.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.3358, allocations: 15.94 kB / 0.5698 GB, free: 11.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000438/0.3362, allocations: 0.8087 MB / 0.5706 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.626e-05/0.3363, allocations: 23.92 kB / 0.5706 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3363, allocations: 384 / 0.5706 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.3363, allocations: 4 kB / 0.5706 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.3367, allocations: 459.6 kB / 0.5711 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.3381, allocations: 1.582 MB / 0.5726 GB, free: 8.434 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.3385, allocations: 0.6963 MB / 0.5733 GB, free: 7.711 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.341e-05/0.3385, allocations: 3.984 kB / 0.5733 GB, free: 7.707 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/0.3385, allocations: 27.38 kB / 0.5733 GB, free: 7.68 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3385, allocations: 0 / 0.5733 GB, free: 7.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.3618, allocations: 1.773 MB / 0.575 GB, free: 6.055 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.5, allocations: 3.938 kB / 0.575 GB, free: 6.051 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.551590713032056]