Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001223/0.001223, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001333, allocations: 211 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2181/0.2181, allocations: 46.93 MB / 361.6 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 84.14 kB / 0.4969 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3252, allocations: 66.08 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003019/0.3282, allocations: 1.751 MB / 0.5632 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001717/0.3284, allocations: 67.73 kB / 0.5633 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.774e-05/0.3284, allocations: 4 kB / 0.5633 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.087e-05/0.3285, allocations: 11.86 kB / 0.5633 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.487e-05/0.3286, allocations: 23.78 kB / 0.5633 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.763e-05/0.3287, allocations: 27.97 kB / 0.5633 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.3288, allocations: 103.5 kB / 0.5634 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.329, allocations: 49.92 kB / 0.5635 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.37e-05/0.3291, allocations: 43.86 kB / 0.5635 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.3292, allocations: 47.78 kB / 0.5636 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.3292, allocations: 12 kB / 0.5636 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.787e-05/0.3292, allocations: 8 kB / 0.5636 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.3293, allocations: 27.91 kB / 0.5636 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.316e-05/0.3293, allocations: 47.8 kB / 0.5636 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.3295, allocations: 119.5 kB / 0.5638 GB, free: 1.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3295, allocations: 0 / 0.5638 GB, free: 1.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3295, allocations: 0 / 0.5638 GB, free: 1.961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.3295, allocations: 0 / 0.5638 GB, free: 1.961 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.0005435/0.3301, allocations: 326.2 kB / 0.5641 GB, free: 1.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.3301, allocations: 8.031 kB / 0.5641 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.619e-05/0.3301, allocations: 4.422 kB / 0.5641 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.663e-05/0.3302, allocations: 46.73 kB / 0.5641 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.3302, allocations: 12.84 kB / 0.5641 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.3303, allocations: 114.4 kB / 0.5642 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.3304, allocations: 12.61 kB / 0.5643 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.3304, allocations: 8.375 kB / 0.5643 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.3306, allocations: 137.3 kB / 0.5644 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3306, allocations: 0 / 0.5644 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.3307, allocations: 4 kB / 0.5644 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.3307, allocations: 4 kB / 0.5644 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.3308, allocations: 67.91 kB / 0.5645 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000891/0.3317, allocations: 0.6914 MB / 0.5651 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.3318, allocations: 169.1 kB / 0.5653 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.51e-05/0.3319, allocations: 84.12 kB / 0.5654 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.3319, allocations: 75.28 kB / 0.5655 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.672e-05/0.332, allocations: 113.8 kB / 0.5656 GB, free: 15.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.332, allocations: 0 / 0.5656 GB, free: 15.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.983e-05/0.3321, allocations: 29.64 kB / 0.5656 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/0.3321, allocations: 130.7 kB / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.3323, allocations: 155.8 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.3323, allocations: 29.64 kB / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.355e-05/0.3324, allocations: 127.8 kB / 0.566 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-06/0.3324, allocations: 7.938 kB / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.3325, allocations: 25.67 kB / 0.5661 GB, free: 15.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3326, allocations: 318.8 kB / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.3326, allocations: 8 kB / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.167e-05/0.3327, allocations: 41.16 kB / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.52e-05/0.3328, allocations: 53.03 kB / 0.5665 GB, free: 14.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3328, allocations: 0 / 0.5665 GB, free: 14.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001701/0.333, allocations: 81.61 kB / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.333, allocations: 4 kB / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.333, allocations: 4 kB / 0.5665 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.333, allocations: 0 / 0.5665 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.07e-05/0.3331, allocations: 8 kB / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.3331, allocations: 7.984 kB / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.975e-05/0.3331, allocations: 15.89 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.3331, allocations: 0 / 0.5666 GB, free: 14.82 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.0001302/0.3333, allocations: 205.2 kB / 0.5668 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.899e-05/0.3333, allocations: 110.1 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.817e-05/0.3334, allocations: 116.6 kB / 0.567 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.498e-05/0.3335, allocations: 184.2 kB / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.307e-05/0.3336, allocations: 180.3 kB / 0.5673 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.484e-05/0.3337, allocations: 188.1 kB / 0.5675 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.334, allocations: 408.3 kB / 0.5679 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.262e-05/0.334, allocations: 101 kB / 0.568 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.519e-05/0.3341, allocations: 108.9 kB / 0.5681 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.403e-05/0.3341, allocations: 184.4 kB / 0.5683 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.3342, allocations: 180.2 kB / 0.5684 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.448e-05/0.3343, allocations: 184.3 kB / 0.5686 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.307e-05/0.3344, allocations: 184.2 kB / 0.5688 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.3346, allocations: 311.7 kB / 0.5691 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.3346, allocations: 116.9 kB / 0.5692 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.879e-05/0.3347, allocations: 180.3 kB / 0.5694 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3348, allocations: 109 kB / 0.5695 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.3349, allocations: 184.1 kB / 0.5697 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.423e-05/0.335, allocations: 105 kB / 0.5698 GB, free: 11.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.3351, allocations: 117.5 kB / 0.5699 GB, free: 11.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3351, allocations: 0 / 0.5699 GB, free: 11.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.3353, allocations: 19.94 kB / 0.5699 GB, free: 11.22 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.0005092/0.3358, allocations: 0.8087 MB / 0.5707 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.006e-05/0.3359, allocations: 15.94 kB / 0.5707 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.3359, allocations: 4 kB / 0.5707 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.3359, allocations: 3.938 kB / 0.5707 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.3364, allocations: 464 kB / 0.5711 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.3379, allocations: 1.578 MB / 0.5727 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.3383, allocations: 0.6924 MB / 0.5734 GB, free: 7.496 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.81e-05/0.3383, allocations: 11.98 kB / 0.5734 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.3384, allocations: 19.44 kB / 0.5734 GB, free: 7.465 MB / 414.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3384, allocations: 3.938 kB / 0.5734 GB, free: 7.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.3611, allocations: 1.762 MB / 0.5751 GB, free: 5.812 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.84, allocations: 10.94 kB / 0.5751 GB, free: 5.805 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 13.70396521105431]