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.001333/0.001333, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001396/0.001396, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2291/0.2291, allocations: 46.96 MB / 361.7 MB, free: 4.023 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.001975/0.001975, allocations: 75.78 kB / 0.4969 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3376, allocations: 66.03 MB / 0.5613 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003371/0.341, allocations: 1.665 MB / 0.563 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002144/0.3412, allocations: 75.72 kB / 0.563 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.205e-05/0.3412, allocations: 4 kB / 0.563 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.649e-05/0.3413, allocations: 19.8 kB / 0.5631 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.648e-05/0.3414, allocations: 19.78 kB / 0.5631 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.786e-05/0.3415, allocations: 27.97 kB / 0.5631 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.3416, allocations: 99.59 kB / 0.5632 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.3418, allocations: 49.77 kB / 0.5632 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.105e-05/0.3418, allocations: 39.86 kB / 0.5633 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.674e-05/0.3419, allocations: 43.84 kB / 0.5633 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.342, allocations: 12 kB / 0.5633 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.355e-05/0.342, allocations: 12 kB / 0.5634 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.342, allocations: 23.92 kB / 0.5634 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.223e-05/0.3421, allocations: 43.8 kB / 0.5634 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.3423, allocations: 119.5 kB / 0.5635 GB, free: 2.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3423, allocations: 0 / 0.5635 GB, free: 2.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3423, allocations: 4 kB / 0.5635 GB, free: 2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.3423, allocations: 3.984 kB / 0.5635 GB, free: 1.996 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.0005192/0.3428, allocations: 318.2 kB / 0.5638 GB, free: 1.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.3429, allocations: 12.03 kB / 0.5639 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.678e-05/0.3429, allocations: 4.422 kB / 0.5639 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.3429, allocations: 50.69 kB / 0.5639 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.343, allocations: 16.83 kB / 0.5639 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.3431, allocations: 110.5 kB / 0.564 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.3431, allocations: 8.609 kB / 0.564 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.3431, allocations: 12.38 kB / 0.564 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.3434, allocations: 141.2 kB / 0.5642 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3434, allocations: 0 / 0.5642 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.3434, allocations: 4 kB / 0.5642 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.3434, allocations: 4 kB / 0.5642 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.3435, allocations: 59.98 kB / 0.5642 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008959/0.3444, allocations: 0.6758 MB / 0.5649 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.3445, allocations: 173.1 kB / 0.5651 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.295e-05/0.3446, allocations: 80.14 kB / 0.5651 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.3446, allocations: 75.28 kB / 0.5652 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.175e-05/0.3447, allocations: 109.8 kB / 0.5653 GB, free: 0 / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.3447, allocations: 0 / 0.5653 GB, free: 0 / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001006/0.3448, allocations: 25.7 kB / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.717e-05/0.3449, allocations: 130.7 kB / 0.5655 GB, free: 15.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.345, allocations: 160 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.345, allocations: 33.64 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.038e-05/0.3451, allocations: 119.8 kB / 0.5658 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-06/0.3451, allocations: 7.938 kB / 0.5658 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.3452, allocations: 21.67 kB / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3453, allocations: 322.8 kB / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.082e-05/0.3454, allocations: 8 kB / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.146e-05/0.3454, allocations: 45.14 kB / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.777e-05/0.3455, allocations: 53.09 kB / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3455, allocations: 0 / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001913/0.3457, allocations: 73.69 kB / 0.5663 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3457, allocations: 4 kB / 0.5663 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.3457, allocations: 4 kB / 0.5663 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3457, allocations: 4 kB / 0.5663 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.223e-05/0.3458, allocations: 16.12 kB / 0.5663 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.3458, allocations: 8 kB / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.763e-05/0.3459, allocations: 15.88 kB / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.3459, allocations: 3.984 kB / 0.5663 GB, free: 14.87 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.0001473/0.346, allocations: 193.2 kB / 0.5665 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-05/0.3461, allocations: 114 kB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.879e-05/0.3462, allocations: 116.5 kB / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001054/0.3463, allocations: 184.2 kB / 0.5669 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.003e-05/0.3464, allocations: 180.2 kB / 0.5671 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.602e-05/0.3465, allocations: 180.2 kB / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.3469, allocations: 408.2 kB / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-05/0.3469, allocations: 109 kB / 0.5678 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/0.347, allocations: 105 kB / 0.5679 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.575e-05/0.3471, allocations: 180.4 kB / 0.568 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.339e-05/0.3472, allocations: 184.3 kB / 0.5682 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-05/0.3473, allocations: 180.2 kB / 0.5684 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.09e-05/0.3474, allocations: 180.3 kB / 0.5685 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.3476, allocations: 315.6 kB / 0.5688 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.678e-05/0.3476, allocations: 108.9 kB / 0.5689 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.3477, allocations: 188.2 kB / 0.5691 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.3479, allocations: 109 kB / 0.5692 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.348, allocations: 184.2 kB / 0.5694 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.71e-05/0.348, allocations: 104.9 kB / 0.5695 GB, free: 11.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.3481, allocations: 117.6 kB / 0.5696 GB, free: 11.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3481, allocations: 0 / 0.5696 GB, free: 11.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.3484, allocations: 19.88 kB / 0.5696 GB, free: 11.29 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.0005309/0.3489, allocations: 0.8048 MB / 0.5704 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.349, allocations: 19.86 kB / 0.5704 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.349, allocations: 384 / 0.5704 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.815e-06/0.3491, allocations: 11.94 kB / 0.5705 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.3495, allocations: 459.6 kB / 0.5709 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.3512, allocations: 1.585 MB / 0.5724 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.271e-05/0.3513, allocations: 77.33 kB / 0.5725 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.391e-05/0.3514, allocations: 11.98 kB / 0.5725 GB, free: 8.164 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.3514, allocations: 19.44 kB / 0.5725 GB, free: 8.145 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3514, allocations: 0 / 0.5725 GB, free: 8.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.3733, allocations: 1.786 MB / 0.5743 GB, free: 6.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.79, allocations: 3.938 kB / 0.5743 GB, free: 6.5 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.822093336028047]