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.001653/0.001653, allocations: 121.7 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001942/0.001942, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2132/0.2132, allocations: 46.13 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 75.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2798, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003062/0.2829, allocations: 1.912 MB / 0.5325 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009605/0.2838, allocations: 0.5829 MB / 0.533 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.82e-05/0.2839, allocations: 1.281 kB / 0.533 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.139e-05/0.284, allocations: 13.33 kB / 0.5331 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.2842, allocations: 40.28 kB / 0.5331 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.2845, allocations: 92.09 kB / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.2847, allocations: 149 kB / 0.5333 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.2848, allocations: 36.53 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.285, allocations: 78.11 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.2851, allocations: 63.03 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.2852, allocations: 11.25 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.674e-05/0.2852, allocations: 19.36 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.312e-05/0.2853, allocations: 27.86 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.472e-05/0.2854, allocations: 69.83 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.2856, allocations: 142.6 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2856, allocations: 1.156 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2856, allocations: 0 / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.2856, allocations: 0 / 0.5338 GB, free: 10.88 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.0007647/0.2864, allocations: 456.6 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.2864, allocations: 9.625 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.2864, allocations: 37.5 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002783/0.2867, allocations: 41.56 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.2869, allocations: 192 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.2869, allocations: 7.125 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.287, allocations: 9.875 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.2873, allocations: 140.2 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2873, allocations: 0 / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.2873, allocations: 5.375 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2873, allocations: 1.375 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003404/0.2877, allocations: 96.17 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007961/0.2885, allocations: 454.8 kB / 0.5351 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.2888, allocations: 94.45 kB / 0.5352 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.289, allocations: 45.53 kB / 0.5353 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.289, allocations: 4 kB / 0.5353 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.289, allocations: 31.94 kB / 0.5353 GB, free: 9.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.289, allocations: 0 / 0.5353 GB, free: 9.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.001341/0.2904, allocations: 320.8 kB / 0.5356 GB, free: 9.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/0.2905, allocations: 108.8 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.2906, allocations: 146.3 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.2906, allocations: 31.11 kB / 0.5359 GB, free: 8.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.69e-05/0.2907, allocations: 117.2 kB / 0.536 GB, free: 8.867 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.2908, allocations: 18.52 kB / 0.536 GB, free: 8.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.536e-05/0.2908, allocations: 26.3 kB / 0.536 GB, free: 8.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.291, allocations: 321 kB / 0.5363 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.2912, allocations: 60.02 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.2915, allocations: 105.6 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/0.2919, allocations: 134.3 kB / 0.5366 GB, free: 8.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2919, allocations: 8.094 kB / 0.5366 GB, free: 8.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005203/0.2925, allocations: 169.9 kB / 0.5368 GB, free: 8.219 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2925, allocations: 10.56 kB / 0.5368 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2925, allocations: 4.062 kB / 0.5368 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.2925, allocations: 1.469 kB / 0.5368 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005646/0.2931, allocations: 91.62 kB / 0.5369 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.2946, allocations: 1.502 MB / 0.5384 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.2949, allocations: 32.19 kB / 0.5384 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.2949, allocations: 6.938 kB / 0.5384 GB, free: 6.602 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.000109/0.295, allocations: 118.8 kB / 0.5385 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.2951, allocations: 12.95 kB / 0.5385 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005233/0.2956, allocations: 169.9 kB / 0.5387 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2956, allocations: 1.375 kB / 0.5387 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.2956, allocations: 0 / 0.5387 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2956, allocations: 0 / 0.5387 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008141/0.2964, allocations: 466 kB / 0.5391 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2964, allocations: 0 / 0.5391 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.2966, allocations: 27.41 kB / 0.5392 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2966, allocations: 5.312 kB / 0.5392 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.2966, allocations: 4 kB / 0.5392 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.2967, allocations: 5 kB / 0.5392 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2967, allocations: 0 / 0.5392 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005391/0.2972, allocations: 250.8 kB / 0.5394 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.2973, allocations: 84.56 kB / 0.5395 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.2973, allocations: 0.9688 kB / 0.5395 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.2975, allocations: 26.28 kB / 0.5395 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.2976, allocations: 14.17 kB / 0.5395 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.2976, allocations: 14.39 kB / 0.5396 GB, free: 5.609 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.846e-05/0.2977, allocations: 112.2 kB / 0.5397 GB, free: 5.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2977, allocations: 1.156 kB / 0.5397 GB, free: 5.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.298, allocations: 29.53 kB / 0.5397 GB, free: 5.516 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.0008361/0.2988, allocations: 0.7776 MB / 0.5404 GB, free: 4.793 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008687/0.2997, allocations: 178.2 kB / 0.5406 GB, free: 4.719 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2997, allocations: 0 / 0.5406 GB, free: 4.719 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.2999, allocations: 68.98 kB / 0.5407 GB, free: 4.688 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.3003, allocations: 21.33 kB / 0.5407 GB, free: 4.672 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/0.3037, allocations: 1.986 MB / 0.5426 GB, free: 3.078 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.304, allocations: 0.6954 MB / 0.5433 GB, free: 2.375 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.478e-05/0.3041, allocations: 11.7 kB / 0.5433 GB, free: 2.371 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.265e-05/0.3042, allocations: 37.11 kB / 0.5434 GB, free: 2.34 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3042, allocations: 0 / 0.5434 GB, free: 2.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.3292, allocations: 3.186 MB / 0.5465 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.47, allocations: 11.39 kB / 0.5465 GB, free: 0.6875 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