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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 107.1 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001055, allocations: 184.1 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 243 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2167/0.2167, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 65.66 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.107, allocations: 60.82 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002508/0.1095, allocations: 1.717 MB / 472.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001365/0.1097, allocations: 67.73 kB / 472.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.756e-05/0.1098, allocations: 7.938 kB / 472.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.805e-05/0.1098, allocations: 15.86 kB / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.909e-05/0.1099, allocations: 27.72 kB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.536e-05/0.11, allocations: 27.97 kB / 472.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.1101, allocations: 95.59 kB / 472.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.1102, allocations: 59.95 kB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.984e-05/0.1103, allocations: 35.92 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.67e-05/0.1104, allocations: 47.78 kB / 472.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1104, allocations: 12 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.471e-05/0.1104, allocations: 8 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.1105, allocations: 23.92 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.489e-05/0.1105, allocations: 51.73 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.1106, allocations: 123.6 kB / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1107, allocations: 0 / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1107, allocations: 0 / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1107, allocations: 0 / 473 MB, free: 11.31 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.0004078/0.1111, allocations: 399.4 kB / 473.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.1111, allocations: 8.031 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.1112, allocations: 16.78 kB / 473.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.1113, allocations: 172.2 kB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.1113, allocations: 12.61 kB / 473.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.1113, allocations: 12.38 kB / 473.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.1115, allocations: 131.4 kB / 473.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1115, allocations: 192 / 473.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.1115, allocations: 15.88 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1116, allocations: 4 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.1117, allocations: 63.91 kB / 473.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006784/0.1124, allocations: 0.7234 MB / 474.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.757e-05/0.1124, allocations: 173.1 kB / 474.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.824e-05/0.1125, allocations: 80.14 kB / 474.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.1125, allocations: 79.28 kB / 474.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.1125, allocations: 109.8 kB / 475 MB, free: 9.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 2.304e-06/0.1125, allocations: 0 / 475 MB, free: 9.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.02e-05/0.1126, allocations: 37.55 kB / 475 MB, free: 9.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.1127, allocations: 126.7 kB / 475.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.1128, allocations: 141.8 kB / 475.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.1128, allocations: 25.7 kB / 475.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.1129, allocations: 135.5 kB / 475.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.1129, allocations: 0 / 475.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.1129, allocations: 17.72 kB / 475.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.113, allocations: 322.8 kB / 475.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.113, allocations: 7.984 kB / 475.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-05/0.1131, allocations: 37.16 kB / 475.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.75e-05/0.1131, allocations: 65.06 kB / 475.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1131, allocations: 0 / 475.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001254/0.1133, allocations: 77.47 kB / 475.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1133, allocations: 11.98 kB / 476 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1133, allocations: 0 / 476 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1133, allocations: 4 kB / 476 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.457e-05/0.1134, allocations: 8 kB / 476 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1134, allocations: 0 / 476 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.877e-05/0.1134, allocations: 11.84 kB / 476 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1135, allocations: 11.94 kB / 476 MB, free: 8.027 MB / 350.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 7.907e-05/0.1135, allocations: 197.2 kB / 476.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.1136, allocations: 112.9 kB / 476.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.1136, allocations: 108.9 kB / 476.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.198e-05/0.1137, allocations: 184.2 kB / 476.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.026e-05/0.1138, allocations: 176.3 kB / 476.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.312e-05/0.1138, allocations: 184.3 kB / 476.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.114, allocations: 445.1 kB / 477.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.957e-05/0.1141, allocations: 108.9 kB / 477.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.074e-05/0.1141, allocations: 101 kB / 477.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.795e-05/0.1142, allocations: 180.3 kB / 477.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.385e-05/0.1142, allocations: 180.2 kB / 477.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.102e-05/0.1143, allocations: 184.3 kB / 478.1 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.161e-05/0.1143, allocations: 184.2 kB / 478.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.1145, allocations: 311.7 kB / 478.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.1145, allocations: 193.9 kB / 478.8 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.088e-05/0.1146, allocations: 188.3 kB / 479 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.1147, allocations: 104.9 kB / 479.1 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.1148, allocations: 184.3 kB / 479.2 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.1148, allocations: 101 kB / 479.3 MB, free: 4.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.056e-05/0.1149, allocations: 113.5 kB / 479.4 MB, free: 4.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1149, allocations: 0 / 479.4 MB, free: 4.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.1151, allocations: 23.94 kB / 479.5 MB, free: 4.316 MB / 350.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 9.022e-05/0.1152, allocations: 174.5 kB / 479.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.81e-05/0.1153, allocations: 15.94 kB / 479.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1153, allocations: 4 kB / 479.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.1153, allocations: 0 / 479.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.1156, allocations: 460 kB / 480.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/0.1159, allocations: 262.3 kB / 480.4 MB, free: 3.379 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.1161, allocations: 0.6963 MB / 481.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.867e-05/0.1162, allocations: 4 kB / 481.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.593e-05/0.1162, allocations: 7.438 kB / 481.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1162, allocations: 4 kB / 481.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of Templates: time 0.001882/0.1181, allocations: 396.8 kB / 481.5 MB, free: 2.254 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) 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) Reference file matches