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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001485, allocations: 169.2 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008506/0.0008507, allocations: 98.36 kB / 281.6 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1898/0.1898, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.67e-05/1.674e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1329, allocations: 61.91 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4044/0.5374, allocations: 85.65 MB / 0.5783 GB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.5377, allocations: 67.97 kB / 0.5784 GB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003294/0.541, allocations: 1.524 MB / 0.5799 GB, free: 9.293 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.541, allocations: 0 / 0.5799 GB, free: 9.293 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.541, allocations: 4 kB / 0.5799 GB, free: 9.289 MB / 394.7 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.0003813/0.5414, allocations: 374.4 kB / 0.5802 GB, free: 8.875 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.5414, allocations: 15.98 kB / 0.5802 GB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.5415, allocations: 15.84 kB / 0.5802 GB, free: 8.844 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.5416, allocations: 174.9 kB / 0.5804 GB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.5416, allocations: 4 kB / 0.5804 GB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.5417, allocations: 7.953 kB / 0.5804 GB, free: 8.621 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001631/0.5418, allocations: 52.47 kB / 0.5805 GB, free: 8.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.542, allocations: 100.8 kB / 0.5806 GB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.542, allocations: 0 / 0.5806 GB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.5421, allocations: 4 kB / 0.5806 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.5421, allocations: 0 / 0.5806 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007418/0.5428, allocations: 0.6935 MB / 0.5813 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.832e-05/0.5429, allocations: 169.1 kB / 0.5814 GB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.543, allocations: 80.14 kB / 0.5815 GB, free: 7.449 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.543, allocations: 75.28 kB / 0.5816 GB, free: 7.375 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/0.5431, allocations: 117.8 kB / 0.5817 GB, free: 7.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.273e-06/0.5431, allocations: 0 / 0.5817 GB, free: 7.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 6.681e-05/0.5431, allocations: 25.7 kB / 0.5817 GB, free: 7.219 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.5432, allocations: 51.41 kB / 0.5818 GB, free: 7.156 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.774e-05/0.5433, allocations: 109.2 kB / 0.5819 GB, free: 7.039 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.5433, allocations: 25.7 kB / 0.5819 GB, free: 7.008 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.037e-05/0.5434, allocations: 134.6 kB / 0.582 GB, free: 6.875 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.5434, allocations: 3.938 kB / 0.582 GB, free: 6.871 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.5434, allocations: 4 kB / 0.582 GB, free: 6.867 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.5435, allocations: 318.8 kB / 0.5823 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.5435, allocations: 4 kB / 0.5823 GB, free: 6.543 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.936e-05/0.5435, allocations: 38.72 kB / 0.5824 GB, free: 6.488 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.897e-05/0.5436, allocations: 19.94 kB / 0.5824 GB, free: 6.469 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5436, allocations: 4 kB / 0.5824 GB, free: 6.465 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001234/0.5437, allocations: 61.56 kB / 0.5824 GB, free: 6.398 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.5437, allocations: 5.406 kB / 0.5824 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5437, allocations: 4 kB / 0.5825 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.5438, allocations: 0 / 0.5825 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.731e-05/0.5438, allocations: 16.19 kB / 0.5825 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.5439, allocations: 1.078 kB / 0.5825 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.809e-05/0.5439, allocations: 11.84 kB / 0.5825 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.5439, allocations: 0 / 0.5825 GB, free: 6.363 MB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.455e-05/0.544, allocations: 192.2 kB / 0.5827 GB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.5441, allocations: 108.9 kB / 0.5828 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/0.5441, allocations: 109 kB / 0.5829 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.093e-05/0.5442, allocations: 184.2 kB / 0.583 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.294e-05/0.5443, allocations: 176.3 kB / 0.5832 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.157e-05/0.5443, allocations: 180.3 kB / 0.5834 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.5445, allocations: 413.7 kB / 0.5838 GB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.774e-05/0.5446, allocations: 102.2 kB / 0.5839 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.5446, allocations: 101 kB / 0.584 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.658e-05/0.5447, allocations: 196.1 kB / 0.5842 GB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.086e-05/0.5447, allocations: 176.3 kB / 0.5843 GB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.848e-05/0.5448, allocations: 184.1 kB / 0.5845 GB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.444e-05/0.5449, allocations: 184.3 kB / 0.5847 GB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.545, allocations: 303.8 kB / 0.585 GB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.398e-05/0.5451, allocations: 189.9 kB / 0.5852 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.684e-05/0.5451, allocations: 189.6 kB / 0.5853 GB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.711e-05/0.5452, allocations: 101 kB / 0.5854 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.5453, allocations: 180.2 kB / 0.5856 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.5453, allocations: 101 kB / 0.5857 GB, free: 2.863 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.225e-05/0.5454, allocations: 103.3 kB / 0.5858 GB, free: 2.762 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5454, allocations: 0 / 0.5858 GB, free: 2.762 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002269/0.5456, allocations: 19.84 kB / 0.5858 GB, free: 2.742 MB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001305/0.5458, allocations: 167.7 kB / 0.586 GB, free: 2.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.036e-05/0.5458, allocations: 19.94 kB / 0.586 GB, free: 2.551 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5459, allocations: 0 / 0.586 GB, free: 2.551 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.5459, allocations: 384 / 0.586 GB, free: 2.551 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.5462, allocations: 0.5185 MB / 0.5865 GB, free: 2.027 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002386/0.5464, allocations: 175.3 kB / 0.5867 GB, free: 1.836 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.5467, allocations: 0.7001 MB / 0.5873 GB, free: 1.109 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.223e-05/0.5467, allocations: 4 kB / 0.5874 GB, free: 1.105 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.5467, allocations: 11.44 kB / 0.5874 GB, free: 1.094 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5467, allocations: 0 / 0.5874 GB, free: 1.094 MB / 394.7 MB Notification: Performance of Templates: time 0.00188/0.5486, allocations: 270 kB / 0.5876 GB, free: 0.832 MB / 394.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches