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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001465/0.001466, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001869/0.001869, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2175/0.2175, allocations: 46.09 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001632, allocations: 77.47 kB / 417.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1314, allocations: 62.44 MB / 480 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003396/0.1348, allocations: 1.724 MB / 481.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000199/0.135, allocations: 75.66 kB / 481.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.852e-05/0.1351, allocations: 4 kB / 481.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.889e-05/0.1352, allocations: 19.84 kB / 481.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.045e-05/0.1353, allocations: 23.78 kB / 481.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.855e-05/0.1354, allocations: 23.98 kB / 481.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.1355, allocations: 99.53 kB / 482 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.1357, allocations: 63.94 kB / 482 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.426e-05/0.1358, allocations: 43.86 kB / 482.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.1358, allocations: 39.84 kB / 482.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.1359, allocations: 12 kB / 482.1 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.845e-05/0.1359, allocations: 12 kB / 482.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/0.1359, allocations: 23.92 kB / 482.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.272e-05/0.136, allocations: 51.73 kB / 482.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.1361, allocations: 119.8 kB / 482.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1361, allocations: 0 / 482.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1362, allocations: 4 kB / 482.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.1362, allocations: 4 kB / 482.3 MB, free: 2.957 MB / 350.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.0005337/0.1367, allocations: 391.5 kB / 482.7 MB, free: 2.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1368, allocations: 8.031 kB / 482.7 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.1368, allocations: 16.75 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.137, allocations: 172.3 kB / 482.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.137, allocations: 8.609 kB / 482.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.137, allocations: 12.38 kB / 482.9 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.1372, allocations: 129.6 kB / 483.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1373, allocations: 192 / 483.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.1373, allocations: 7.938 kB / 483.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.1373, allocations: 7.938 kB / 483.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.1374, allocations: 63.91 kB / 483.1 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008115/0.1382, allocations: 0.7235 MB / 483.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.966e-05/0.1383, allocations: 173.1 kB / 484 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.1384, allocations: 84.14 kB / 484.1 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.1384, allocations: 75.28 kB / 484.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.1384, allocations: 109.8 kB / 484.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1385, allocations: 0 / 484.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.642e-05/0.1385, allocations: 41.53 kB / 484.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.1386, allocations: 130.7 kB / 484.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.1387, allocations: 144.2 kB / 484.6 MB, free: 484 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.1388, allocations: 25.7 kB / 484.6 MB, free: 452 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.568e-05/0.1388, allocations: 123.5 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.232e-06/0.1389, allocations: 7.984 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.1389, allocations: 17.72 kB / 484.8 MB, free: 292 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.139, allocations: 318.8 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.139, allocations: 7.984 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.297e-05/0.1391, allocations: 45.16 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.316e-05/0.1392, allocations: 57.12 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.1392, allocations: 0 / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001369/0.1393, allocations: 85.47 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1393, allocations: 4 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1393, allocations: 8 kB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1394, allocations: 3.984 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.03e-05/0.1394, allocations: 8 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.1394, allocations: 8.188 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.1395, allocations: 7.938 kB / 485.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.1395, allocations: 3.938 kB / 485.3 MB, free: 15.69 MB / 366.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 8.902e-05/0.1396, allocations: 197.1 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.1397, allocations: 108.8 kB / 485.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.251e-05/0.1397, allocations: 112.8 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.364e-05/0.1398, allocations: 188.2 kB / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.172e-05/0.1398, allocations: 180.3 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.997e-05/0.1399, allocations: 176.4 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.1401, allocations: 445.1 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-05/0.1402, allocations: 109 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.1402, allocations: 104.9 kB / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.264e-05/0.1403, allocations: 184.3 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.323e-05/0.1403, allocations: 180.3 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.053e-05/0.1404, allocations: 180.2 kB / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.083e-05/0.1405, allocations: 180.2 kB / 487.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.1406, allocations: 319.6 kB / 487.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/0.1407, allocations: 185.9 kB / 488.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.474e-05/0.1407, allocations: 192.2 kB / 488.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.783e-05/0.1408, allocations: 101 kB / 488.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.1409, allocations: 180.2 kB / 488.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/0.1409, allocations: 105 kB / 488.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.96e-05/0.141, allocations: 121.4 kB / 488.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.141, allocations: 0 / 488.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.1413, allocations: 15.94 kB / 488.8 MB, free: 11.98 MB / 366.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.00011/0.1414, allocations: 174.5 kB / 489 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.767e-05/0.1415, allocations: 11.94 kB / 489 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1415, allocations: 0 / 489 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.074e-05/0.1415, allocations: 4.375 kB / 489 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.1419, allocations: 463.6 kB / 489.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.1422, allocations: 258.1 kB / 489.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.1425, allocations: 0.6953 MB / 490.4 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.593e-05/0.1425, allocations: 4 kB / 490.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.1426, allocations: 11.44 kB / 490.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1426, allocations: 0 / 490.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of Templates: time 0.002381/0.145, allocations: 400.8 kB / 490.8 MB, free: 9.922 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches