Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00189/0.00189, allocations: 114.3 kB / 18.49 MB, free: 4.539 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.002163/0.002163, allocations: 219 kB / 21.46 MB, free: 1.586 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.504/1.504, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2209/0.2209, allocations: 44.9 MB / 355.8 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 71.89 kB / 0.4885 GB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1365, allocations: 65.42 MB / 0.5524 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.004098/0.1406, allocations: 1.74 MB / 0.5541 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002492/0.1409, allocations: 71.73 kB / 0.5542 GB, free: 8.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.027e-05/0.141, allocations: 4 kB / 0.5542 GB, free: 8.426 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.978e-05/0.141, allocations: 15.84 kB / 0.5542 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.811e-05/0.1411, allocations: 23.78 kB / 0.5542 GB, free: 8.387 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.743e-05/0.1412, allocations: 19.98 kB / 0.5542 GB, free: 8.367 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.1414, allocations: 107.5 kB / 0.5543 GB, free: 8.262 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.1416, allocations: 48.23 kB / 0.5544 GB, free: 8.215 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.96e-05/0.1416, allocations: 43.86 kB / 0.5544 GB, free: 8.172 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.79e-05/0.1417, allocations: 39.84 kB / 0.5545 GB, free: 8.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.1418, allocations: 12 kB / 0.5545 GB, free: 8.121 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.936e-05/0.1418, allocations: 11.94 kB / 0.5545 GB, free: 8.109 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.1418, allocations: 19.98 kB / 0.5545 GB, free: 8.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.1419, allocations: 55.73 kB / 0.5546 GB, free: 8.035 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.1421, allocations: 131.4 kB / 0.5547 GB, free: 7.906 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1421, allocations: 0 / 0.5547 GB, free: 7.906 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1421, allocations: 0 / 0.5547 GB, free: 7.906 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.1421, allocations: 0 / 0.5547 GB, free: 7.906 MB / 414.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.0006448/0.1427, allocations: 403.3 kB / 0.5551 GB, free: 7.457 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.1428, allocations: 8.031 kB / 0.5551 GB, free: 7.449 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.056e-05/0.1428, allocations: 4.422 kB / 0.5551 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.635e-05/0.1428, allocations: 46.73 kB / 0.5551 GB, free: 7.391 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.1429, allocations: 12.84 kB / 0.5551 GB, free: 7.379 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.143, allocations: 176.2 kB / 0.5553 GB, free: 7.168 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.1431, allocations: 12.59 kB / 0.5553 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.1431, allocations: 12.38 kB / 0.5553 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.1434, allocations: 135.7 kB / 0.5555 GB, free: 7.004 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1434, allocations: 0 / 0.5555 GB, free: 7.004 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.1434, allocations: 7.984 kB / 0.5555 GB, free: 6.996 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.1434, allocations: 7.938 kB / 0.5555 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.1435, allocations: 55.98 kB / 0.5555 GB, free: 6.934 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.1446, allocations: 0.7275 MB / 0.5562 GB, free: 6.137 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1447, allocations: 169.1 kB / 0.5564 GB, free: 5.961 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.544e-05/0.1448, allocations: 80.14 kB / 0.5565 GB, free: 5.879 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.1448, allocations: 75.28 kB / 0.5566 GB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.335e-05/0.1449, allocations: 113.8 kB / 0.5567 GB, free: 5.684 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.532e-06/0.1449, allocations: 3.938 kB / 0.5567 GB, free: 5.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.163e-05/0.145, allocations: 25.7 kB / 0.5567 GB, free: 5.648 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/0.1451, allocations: 130.7 kB / 0.5568 GB, free: 5.508 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.1452, allocations: 159.5 kB / 0.557 GB, free: 5.344 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.1453, allocations: 25.7 kB / 0.557 GB, free: 5.312 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.1454, allocations: 119.8 kB / 0.5571 GB, free: 5.191 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.955e-06/0.1454, allocations: 4 kB / 0.5571 GB, free: 5.188 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.1454, allocations: 33.61 kB / 0.5571 GB, free: 5.148 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1456, allocations: 314.8 kB / 0.5574 GB, free: 4.832 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-05/0.1456, allocations: 8 kB / 0.5575 GB, free: 4.824 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-05/0.1457, allocations: 41.16 kB / 0.5575 GB, free: 4.766 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.108e-05/0.1457, allocations: 57.02 kB / 0.5575 GB, free: 4.691 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1457, allocations: 0 / 0.5575 GB, free: 4.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002037/0.1459, allocations: 81.69 kB / 0.5576 GB, free: 4.605 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.146, allocations: 4 kB / 0.5576 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.146, allocations: 4 kB / 0.5576 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.146, allocations: 0 / 0.5576 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.501e-05/0.1461, allocations: 8 kB / 0.5576 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1461, allocations: 4 kB / 0.5576 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.962e-05/0.1461, allocations: 15.83 kB / 0.5577 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.1461, allocations: 4.062 kB / 0.5577 GB, free: 4.566 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.0001575/0.1463, allocations: 203.2 kB / 0.5579 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.995e-05/0.1464, allocations: 113 kB / 0.558 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.886e-05/0.1465, allocations: 120.6 kB / 0.5581 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.171e-05/0.1465, allocations: 180.3 kB / 0.5582 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001048/0.1467, allocations: 184.2 kB / 0.5584 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.693e-05/0.1467, allocations: 184.1 kB / 0.5586 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/0.1471, allocations: 441.3 kB / 0.559 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.08e-05/0.1471, allocations: 108.9 kB / 0.5591 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.173e-05/0.1472, allocations: 101 kB / 0.5592 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.25e-05/0.1473, allocations: 180.3 kB / 0.5594 GB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.831e-05/0.1474, allocations: 180.2 kB / 0.5596 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.076e-05/0.1475, allocations: 180.2 kB / 0.5597 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-05/0.1476, allocations: 184.2 kB / 0.5599 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.1478, allocations: 311.7 kB / 0.5602 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.1479, allocations: 190 kB / 0.5604 GB, free: 1.574 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.341e-05/0.148, allocations: 184.3 kB / 0.5606 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.1481, allocations: 108.9 kB / 0.5607 GB, free: 1.273 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.1482, allocations: 180.2 kB / 0.5608 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.492e-05/0.1482, allocations: 105 kB / 0.5609 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.1484, allocations: 117.6 kB / 0.5611 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1484, allocations: 0 / 0.5611 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.1486, allocations: 15.94 kB / 0.5611 GB, free: 0.8516 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.0005696/0.1492, allocations: 0.8126 MB / 0.5619 GB, free: 12 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.1493, allocations: 20.02 kB / 0.5619 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1493, allocations: 0 / 0.5619 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.1493, allocations: 0 / 0.5619 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.1498, allocations: 468 kB / 0.5623 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.1514, allocations: 1.589 MB / 0.5639 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.1518, allocations: 0.6962 MB / 0.5646 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.066e-05/0.1518, allocations: 8 kB / 0.5646 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.089e-05/0.1519, allocations: 23.42 kB / 0.5646 GB, free: 13.07 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1519, allocations: 0 / 0.5646 GB, free: 13.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.17, allocations: 1.643 MB / 0.5662 GB, free: 11.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.402/8.572, allocations: 12.14 kB / 0.5662 GB, free: 11.52 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 11.674340435944032]