Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.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) 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(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001122/0.001122, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001864/0.001864, 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.344/1.344, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2447, allocations: 50.55 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004392/0.2491, allocations: 2.901 MB / 411.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.2506, allocations: 0.7049 MB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002751/0.2509, allocations: 8 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.2512, allocations: 63.38 kB / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.2515, allocations: 83.2 kB / 412.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.2518, allocations: 91.86 kB / 412.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004859/0.2523, allocations: 382.8 kB / 413 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003114/0.2527, allocations: 168.5 kB / 413.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003149/0.253, allocations: 159.5 kB / 413.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.2532, allocations: 151.3 kB / 413.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.27e-05/0.2533, allocations: 36 kB / 413.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.11e-05/0.2533, allocations: 36 kB / 413.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.2534, allocations: 79.73 kB / 413.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.2536, allocations: 171.1 kB / 413.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.2539, allocations: 384.3 kB / 414.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2539, allocations: 0 / 414.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2539, allocations: 0 / 414.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.2539, allocations: 0 / 414.2 MB, free: 12.11 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009094/0.2549, allocations: 0.6199 MB / 414.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2549, allocations: 12.03 kB / 414.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.225e-05/0.255, allocations: 66.72 kB / 414.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.199e-05/0.255, allocations: 36.56 kB / 414.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.2554, allocations: 275.6 kB / 415.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.2554, allocations: 21.03 kB / 415.2 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.2555, allocations: 36.38 kB / 415.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004985/0.256, allocations: 282.2 kB / 415.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.256, allocations: 0 / 415.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.2561, allocations: 8 kB / 415.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.2561, allocations: 8 kB / 415.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/0.2565, allocations: 218.5 kB / 415.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.258, allocations: 1.018 MB / 416.7 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.2583, allocations: 158.5 kB / 416.9 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.2586, allocations: 132.7 kB / 417 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.2587, allocations: 4 kB / 417 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.2587, allocations: 38.56 kB / 417.1 MB, free: 9.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.322e-06/0.2587, allocations: 0 / 417.1 MB, free: 9.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005723/0.2593, allocations: 231.8 kB / 417.3 MB, free: 8.777 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.2593, allocations: 55.34 kB / 417.3 MB, free: 8.711 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.2595, allocations: 215.1 kB / 417.6 MB, free: 8.492 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.2595, allocations: 29.7 kB / 417.6 MB, free: 8.457 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.873e-05/0.2597, allocations: 196 kB / 417.8 MB, free: 8.262 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.2597, allocations: 70.91 kB / 417.8 MB, free: 8.191 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.2598, allocations: 53.98 kB / 417.9 MB, free: 8.133 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2599, allocations: 326.8 kB / 418.2 MB, free: 7.805 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.2601, allocations: 68.52 kB / 418.3 MB, free: 7.738 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.2603, allocations: 143.4 kB / 418.4 MB, free: 7.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/0.2606, allocations: 221.2 kB / 418.6 MB, free: 7.316 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2606, allocations: 3.938 kB / 418.6 MB, free: 7.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000468/0.2611, allocations: 281 kB / 418.9 MB, free: 7.031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2611, allocations: 8 kB / 418.9 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.2612, allocations: 0 / 418.9 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2612, allocations: 7.984 kB / 418.9 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.2615, allocations: 68.16 kB / 419 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.2615, allocations: 11.94 kB / 419 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.2617, allocations: 35.67 kB / 419 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.2617, allocations: 16 kB / 419.1 MB, free: 6.887 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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 prepare postOptimizeDAE: time 0.0001296/0.2618, allocations: 141.7 kB / 419.2 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.2619, allocations: 23.75 kB / 419.2 MB, free: 6.715 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000418/0.2623, allocations: 196.5 kB / 419.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.2623, allocations: 8 kB / 419.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.2623, allocations: 3.984 kB / 419.4 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2624, allocations: 3.938 kB / 419.4 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00081/0.2632, allocations: 0.6012 MB / 420 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2632, allocations: 4 kB / 420 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.2635, allocations: 48.03 kB / 420.1 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.2635, allocations: 11.98 kB / 420.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.2635, allocations: 4 kB / 420.1 MB, free: 5.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.2635, allocations: 4 kB / 420.1 MB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.2635, allocations: 3.938 kB / 420.1 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000576/0.2641, allocations: 380.6 kB / 420.5 MB, free: 5.367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.2642, allocations: 100.8 kB / 420.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.2642, allocations: 8.062 kB / 420.6 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.2644, allocations: 15.98 kB / 420.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.2645, allocations: 11.98 kB / 420.6 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.2645, allocations: 8 kB / 420.6 MB, free: 5.207 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.2646, allocations: 160.6 kB / 420.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2646, allocations: 0 / 420.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003297/0.265, allocations: 79.69 kB / 420.9 MB, free: 4.973 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * 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.0008041/0.2658, allocations: 0.9077 MB / 421.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003909/0.2662, allocations: 179.7 kB / 421.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2662, allocations: 0 / 421.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.2664, allocations: 88.45 kB / 422 MB, free: 3.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.2667, allocations: 32.59 kB / 422.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.2699, allocations: 2.806 MB / 424.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.2702, allocations: 0.7675 MB / 425.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.801e-05/0.2703, allocations: 17.95 kB / 425.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.2704, allocations: 95.39 kB / 425.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2704, allocations: 0 / 425.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.2925, allocations: 4.7 MB / 430.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.626/7.919, allocations: 11.94 kB / 430.4 MB, free: 11.29 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches