Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008487/0.0008488, allocations: 91.23 kB / 17 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 193.5 kB / 17.9 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2148/0.2148, allocations: 45.92 MB / 344.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002699/0.0002699, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1484, allocations: 63.47 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.00289/0.1513, allocations: 1.588 MB / 483.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1528, allocations: 0.5459 MB / 483.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.1529, allocations: 4 kB / 483.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.695e-05/0.153, allocations: 11.92 kB / 483.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.1533, allocations: 27.78 kB / 483.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.1537, allocations: 71.59 kB / 483.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.154, allocations: 135.5 kB / 484 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.1541, allocations: 29.05 kB / 484 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003039/0.1544, allocations: 59.77 kB / 484.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.1546, allocations: 63.75 kB / 484.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.1547, allocations: 4 kB / 484.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.913e-05/0.1547, allocations: 12 kB / 484.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.207e-05/0.1548, allocations: 19.92 kB / 484.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.675e-05/0.1548, allocations: 49.62 kB / 484.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.155, allocations: 99.94 kB / 484.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.155, allocations: 4 kB / 484.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.155, allocations: 0 / 484.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.155, allocations: 0 / 484.3 MB, free: 2.523 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008849/0.1559, allocations: 434.9 kB / 484.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.156, allocations: 12.03 kB / 484.8 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.887e-05/0.1561, allocations: 42.55 kB / 484.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000351/0.1564, allocations: 39.88 kB / 484.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.1567, allocations: 189.2 kB / 485.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.1567, allocations: 8 kB / 485.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.1567, allocations: 4 kB / 485.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.1571, allocations: 144.1 kB / 485.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1571, allocations: 0 / 485.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.1571, allocations: 8 kB / 485.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1571, allocations: 0 / 485.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003226/0.1574, allocations: 107.8 kB / 485.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008745/0.1583, allocations: 467.4 kB / 485.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.1587, allocations: 102.4 kB / 485.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.1588, allocations: 48.92 kB / 485.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.1588, allocations: 4 kB / 485.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1589, allocations: 34.55 kB / 486 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.1589, allocations: 0 / 486 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.001386/0.1603, allocations: 369.1 kB / 486.3 MB, free: 368 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.979e-05/0.1604, allocations: 106.8 kB / 486.4 MB, free: 236 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.1605, allocations: 141.8 kB / 486.6 MB, free: 84 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.1606, allocations: 33.7 kB / 486.6 MB, free: 44 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.1607, allocations: 112.1 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.1608, allocations: 23.7 kB / 486.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/0.1608, allocations: 0 / 486.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1609, allocations: 318.8 kB / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.1612, allocations: 75.94 kB / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.1614, allocations: 104.2 kB / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.1617, allocations: 71.89 kB / 487.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1617, allocations: 4.031 kB / 487.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005375/0.1622, allocations: 193.4 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1623, allocations: 4 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1623, allocations: 4 kB / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1623, allocations: 0 / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005619/0.1629, allocations: 95.97 kB / 487.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.1645, allocations: 1.39 MB / 489 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.1647, allocations: 40.12 kB / 489 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.1647, allocations: 0 / 489 MB, free: 13.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.1649, allocations: 130.2 kB / 489.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.1649, allocations: 11.95 kB / 489.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005127/0.1654, allocations: 190.3 kB / 489.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1655, allocations: 8 kB / 489.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1655, allocations: 0 / 489.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1655, allocations: 0 / 489.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008091/0.1663, allocations: 486.5 kB / 489.8 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1663, allocations: 0 / 489.8 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.1665, allocations: 35.97 kB / 489.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1665, allocations: 3.984 kB / 489.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1665, allocations: 4 kB / 489.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1665, allocations: 3.938 kB / 489.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1665, allocations: 0 / 489.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.167, allocations: 279.2 kB / 490.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/0.1671, allocations: 85.02 kB / 490.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.1671, allocations: 3.984 kB / 490.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.1673, allocations: 32.16 kB / 490.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.1674, allocations: 8 kB / 490.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.1674, allocations: 3.938 kB / 490.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.631e-05/0.1675, allocations: 117.3 kB / 490.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1675, allocations: 0 / 490.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.1678, allocations: 28 kB / 490.4 MB, free: 11.95 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 (7): * Single equations (assignments): 7 * 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.0008693/0.1687, allocations: 0.8063 MB / 491.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008258/0.1695, allocations: 192 kB / 491.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1696, allocations: 0 / 491.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.1698, allocations: 79.88 kB / 491.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.1701, allocations: 12 kB / 491.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.1725, allocations: 0.997 MB / 492.5 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1728, allocations: 0.7043 MB / 493.2 MB, free: 9.059 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.579e-05/0.1729, allocations: 12.42 kB / 493.2 MB, free: 9.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.362e-05/0.173, allocations: 31.42 kB / 493.2 MB, free: 9.016 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.173, allocations: 0 / 493.2 MB, free: 9.016 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.1876, allocations: 2.744 MB / 496 MB, free: 6.457 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/0.1878, allocations: 228.5 kB / 496.2 MB, free: 6.215 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.035, allocations: 0 / 496.2 MB, free: 6.215 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat does not exist to compare? outputFormat=mat