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.001524/0.001524, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0018/0.0018, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2177/0.2177, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 75.88 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3692, allocations: 62.43 MB / 0.5305 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.004123/0.3734, allocations: 1.912 MB / 0.5324 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.3746, allocations: 0.5856 MB / 0.5329 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.3748, allocations: 2.125 kB / 0.5329 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.943e-05/0.3749, allocations: 15.8 kB / 0.5329 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002676/0.3751, allocations: 45.12 kB / 0.533 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.3755, allocations: 83.67 kB / 0.5331 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.3758, allocations: 153.3 kB / 0.5332 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.3759, allocations: 39.33 kB / 0.5333 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.3762, allocations: 70.61 kB / 0.5333 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.3764, allocations: 74.77 kB / 0.5334 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.3764, allocations: 12.53 kB / 0.5334 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-05/0.3765, allocations: 19.34 kB / 0.5334 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.915e-05/0.3766, allocations: 23.86 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.407e-05/0.3766, allocations: 59.94 kB / 0.5335 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.3769, allocations: 147.3 kB / 0.5336 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3769, allocations: 0 / 0.5336 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3769, allocations: 0 / 0.5336 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3769, allocations: 0 / 0.5336 GB, free: 11.18 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.001055/0.378, allocations: 449.1 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.378, allocations: 9.625 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.578e-05/0.3781, allocations: 41.5 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003269/0.3784, allocations: 49.41 kB / 0.5342 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.3786, allocations: 185.8 kB / 0.5343 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.3787, allocations: 7.125 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.3787, allocations: 5.875 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.3791, allocations: 154.2 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3791, allocations: 4 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.3791, allocations: 1.375 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3791, allocations: 1.375 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.3795, allocations: 92.17 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009135/0.3804, allocations: 454.8 kB / 0.535 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.3807, allocations: 86.53 kB / 0.5351 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.3809, allocations: 41.55 kB / 0.5352 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.3809, allocations: 0 / 0.5352 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.054e-05/0.381, allocations: 31.94 kB / 0.5352 GB, free: 9.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.381, allocations: 3.938 kB / 0.5352 GB, free: 9.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.001417/0.3824, allocations: 320.8 kB / 0.5355 GB, free: 9.574 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.538e-05/0.3825, allocations: 105 kB / 0.5356 GB, free: 9.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.3827, allocations: 160.2 kB / 0.5357 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.3827, allocations: 26.89 kB / 0.5358 GB, free: 9.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.3828, allocations: 109 kB / 0.5359 GB, free: 9.172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.3829, allocations: 30.22 kB / 0.5359 GB, free: 9.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.832e-05/0.383, allocations: 30.95 kB / 0.5359 GB, free: 9.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.3831, allocations: 320.1 kB / 0.5362 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.3834, allocations: 56.48 kB / 0.5363 GB, free: 8.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.3836, allocations: 93.52 kB / 0.5364 GB, free: 8.703 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/0.3841, allocations: 142.7 kB / 0.5365 GB, free: 8.617 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3841, allocations: 0 / 0.5365 GB, free: 8.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005529/0.3847, allocations: 178.5 kB / 0.5367 GB, free: 8.516 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3847, allocations: 9.094 kB / 0.5367 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3847, allocations: 1.406 kB / 0.5367 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3847, allocations: 1.312 kB / 0.5367 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/0.3854, allocations: 87.53 kB / 0.5368 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.3871, allocations: 1.51 MB / 0.5383 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.3874, allocations: 27.5 kB / 0.5383 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.3874, allocations: 6.5 kB / 0.5383 GB, free: 6.902 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.0001344/0.3875, allocations: 126.4 kB / 0.5384 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.3876, allocations: 17.08 kB / 0.5384 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005402/0.3881, allocations: 157.7 kB / 0.5386 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3882, allocations: 5.312 kB / 0.5386 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.3882, allocations: 0 / 0.5386 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.3882, allocations: 0 / 0.5386 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009301/0.3891, allocations: 466.9 kB / 0.539 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3891, allocations: 0 / 0.539 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.3893, allocations: 27.47 kB / 0.5391 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3893, allocations: 0 / 0.5391 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3893, allocations: 1.406 kB / 0.5391 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3894, allocations: 3.938 kB / 0.5391 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.3894, allocations: 0 / 0.5391 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006202/0.39, allocations: 251.6 kB / 0.5393 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.3901, allocations: 83.33 kB / 0.5394 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.3901, allocations: 4.984 kB / 0.5394 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.3903, allocations: 34.88 kB / 0.5394 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.3904, allocations: 2.344 kB / 0.5394 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.3904, allocations: 6.406 kB / 0.5394 GB, free: 5.926 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.296e-05/0.3905, allocations: 120.4 kB / 0.5395 GB, free: 5.828 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3905, allocations: 3.938 kB / 0.5395 GB, free: 5.824 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.3908, allocations: 26.12 kB / 0.5396 GB, free: 5.824 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.0008726/0.3917, allocations: 0.7823 MB / 0.5403 GB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008804/0.3926, allocations: 180.5 kB / 0.5405 GB, free: 5.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.3926, allocations: 4.969 kB / 0.5405 GB, free: 5.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002663/0.3929, allocations: 64.38 kB / 0.5406 GB, free: 4.988 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.3933, allocations: 13.12 kB / 0.5406 GB, free: 4.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/0.3971, allocations: 1.975 MB / 0.5425 GB, free: 3.395 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.3974, allocations: 0.7 MB / 0.5432 GB, free: 2.688 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.844e-05/0.3975, allocations: 14.98 kB / 0.5432 GB, free: 2.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.082e-05/0.3976, allocations: 32.95 kB / 0.5432 GB, free: 2.652 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3976, allocations: 0 / 0.5432 GB, free: 2.652 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02544/0.423, allocations: 3.257 MB / 0.5464 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.23, allocations: 7.875 kB / 0.5464 GB, free: 0.9492 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