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.001239/0.001239, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2014/0.2014, allocations: 46.09 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 75.89 kB / 480.8 MB, free: 4.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3436, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002902/0.3465, allocations: 1.915 MB / 0.5324 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009956/0.3475, allocations: 0.5837 MB / 0.5329 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.244e-05/0.3476, allocations: 1.344 kB / 0.5329 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.393e-05/0.3477, allocations: 11.86 kB / 0.5329 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.3479, allocations: 40.45 kB / 0.533 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.3483, allocations: 90.75 kB / 0.5331 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.3485, allocations: 149.6 kB / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.3486, allocations: 45.06 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.3488, allocations: 82 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.3489, allocations: 58.95 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.349, allocations: 11 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.611e-05/0.349, allocations: 16.22 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.202e-05/0.3491, allocations: 35.12 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.366e-05/0.3492, allocations: 64.89 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.3494, allocations: 143.5 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3494, allocations: 4 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3494, allocations: 0 / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.3494, allocations: 0 / 0.5337 GB, free: 10.96 MB / 398.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.0007972/0.3502, allocations: 449 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3503, allocations: 9.156 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.858e-05/0.3503, allocations: 41.75 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003134/0.3506, allocations: 42 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.3508, allocations: 192.9 kB / 0.5344 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.3508, allocations: 2.75 kB / 0.5344 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.3509, allocations: 9.688 kB / 0.5344 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.3512, allocations: 146 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3513, allocations: 1.375 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.3513, allocations: 5.375 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3513, allocations: 1.375 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/0.3516, allocations: 100.1 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009002/0.3525, allocations: 446.8 kB / 0.535 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.3528, allocations: 93.14 kB / 0.5351 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.353, allocations: 41.55 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.353, allocations: 5.375 kB / 0.5352 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.3531, allocations: 31.94 kB / 0.5352 GB, free: 9.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.3531, allocations: 0 / 0.5352 GB, free: 9.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.001441/0.3545, allocations: 316.3 kB / 0.5355 GB, free: 9.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.43e-05/0.3546, allocations: 108.2 kB / 0.5356 GB, free: 9.234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.3548, allocations: 147.4 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3548, allocations: 25.7 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.167e-05/0.3549, allocations: 117.4 kB / 0.5359 GB, free: 8.961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.3549, allocations: 26.48 kB / 0.5359 GB, free: 8.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-05/0.355, allocations: 26.7 kB / 0.5359 GB, free: 8.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3551, allocations: 321 kB / 0.5362 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.3554, allocations: 63.45 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.3557, allocations: 98.08 kB / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004444/0.3561, allocations: 134.5 kB / 0.5365 GB, free: 8.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3561, allocations: 4 kB / 0.5365 GB, free: 8.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005396/0.3567, allocations: 174.3 kB / 0.5367 GB, free: 8.309 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.3567, allocations: 9.812 kB / 0.5367 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3567, allocations: 0 / 0.5367 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.3568, allocations: 5.219 kB / 0.5367 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006352/0.3574, allocations: 88.19 kB / 0.5368 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.3591, allocations: 1.502 MB / 0.5383 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.3594, allocations: 27.19 kB / 0.5383 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.3594, allocations: 10.31 kB / 0.5383 GB, free: 6.695 MB / 398.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001467/0.3595, allocations: 124.5 kB / 0.5384 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.3596, allocations: 7.812 kB / 0.5384 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005342/0.3601, allocations: 162.1 kB / 0.5386 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.3602, allocations: 5.453 kB / 0.5386 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3602, allocations: 4 kB / 0.5386 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3602, allocations: 0 / 0.5386 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009614/0.3611, allocations: 466.2 kB / 0.539 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3612, allocations: 1.469 kB / 0.539 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.3614, allocations: 26.62 kB / 0.5391 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.3614, allocations: 4 kB / 0.5391 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.3614, allocations: 1.531 kB / 0.5391 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.3614, allocations: 3.938 kB / 0.5391 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3614, allocations: 0 / 0.5391 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006317/0.362, allocations: 259.7 kB / 0.5393 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.373e-05/0.3621, allocations: 83.27 kB / 0.5394 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.3622, allocations: 1.062 kB / 0.5394 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.3624, allocations: 26.34 kB / 0.5394 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.3625, allocations: 15.67 kB / 0.5394 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.3625, allocations: 5.156 kB / 0.5394 GB, free: 5.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.3626, allocations: 112.8 kB / 0.5395 GB, free: 5.617 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3626, allocations: 0 / 0.5395 GB, free: 5.617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.3629, allocations: 29.84 kB / 0.5396 GB, free: 5.613 MB / 398.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 (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.0007554/0.3637, allocations: 0.7816 MB / 0.5403 GB, free: 4.887 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008651/0.3645, allocations: 169.4 kB / 0.5405 GB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.3646, allocations: 5.188 kB / 0.5405 GB, free: 4.816 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.3648, allocations: 64.08 kB / 0.5406 GB, free: 4.789 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.3652, allocations: 17.88 kB / 0.5406 GB, free: 4.777 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.3687, allocations: 1.978 MB / 0.5425 GB, free: 3.188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.369, allocations: 0.7038 MB / 0.5432 GB, free: 2.477 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.933e-05/0.3691, allocations: 15.47 kB / 0.5432 GB, free: 2.469 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.047e-05/0.3692, allocations: 36.64 kB / 0.5432 GB, free: 2.438 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3692, allocations: 0 / 0.5432 GB, free: 2.438 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.3898, allocations: 3.257 MB / 0.5464 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.65, allocations: 1.531 kB / 0.5464 GB, free: 0.7422 MB / 398.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/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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches