Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 109 kB / 17.06 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 200 kB / 18 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 241.7 MB, free: 15.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 47.92 kB / 350.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2414, allocations: 49.44 MB / 400.3 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004381/0.2459, allocations: 2.886 MB / 403.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.2469, allocations: 0.666 MB / 403.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.2471, allocations: 8 kB / 403.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.2473, allocations: 55.42 kB / 403.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.2474, allocations: 95.19 kB / 404 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.2477, allocations: 91.83 kB / 404.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003997/0.2481, allocations: 390.8 kB / 404.4 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000286/0.2484, allocations: 164.5 kB / 404.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002475/0.2487, allocations: 139.5 kB / 404.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.2489, allocations: 159.3 kB / 404.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.987e-05/0.249, allocations: 32 kB / 404.9 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.858e-05/0.2491, allocations: 36 kB / 405 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.842e-05/0.2492, allocations: 75.75 kB / 405 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.2494, allocations: 167.2 kB / 405.2 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004423/0.2499, allocations: 393.3 kB / 405.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2499, allocations: 3.938 kB / 405.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2499, allocations: 0 / 405.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.2499, allocations: 0 / 405.6 MB, free: 3.457 MB / 318.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.0009522/0.2509, allocations: 0.6196 MB / 406.2 MB, free: 2.789 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2509, allocations: 12.03 kB / 406.2 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.59e-05/0.251, allocations: 70.66 kB / 406.3 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.686e-05/0.2511, allocations: 48.7 kB / 406.3 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/0.2515, allocations: 263.8 kB / 406.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/0.2515, allocations: 29.03 kB / 406.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.919e-05/0.2516, allocations: 36.33 kB / 406.6 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006008/0.2522, allocations: 282.2 kB / 406.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.2522, allocations: 0 / 406.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.2523, allocations: 16 kB / 406.9 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.2523, allocations: 4 kB / 406.9 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004642/0.2528, allocations: 214.5 kB / 407.2 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.2545, allocations: 1.03 MB / 408.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.2548, allocations: 154.6 kB / 408.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/0.2551, allocations: 128.7 kB / 408.5 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.2551, allocations: 4 kB / 408.5 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.2552, allocations: 38.56 kB / 408.5 MB, free: 340 kB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 1.293e-06/0.2552, allocations: 0 / 408.5 MB, free: 340 kB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005707/0.2558, allocations: 228.8 kB / 408.7 MB, free: 108 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.2558, allocations: 55.34 kB / 408.8 MB, free: 40 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.256, allocations: 219.1 kB / 409 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.2561, allocations: 25.7 kB / 409 MB, free: 15.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.2562, allocations: 196.4 kB / 409.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.079e-05/0.2563, allocations: 83.36 kB / 409.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.161e-05/0.2563, allocations: 53.94 kB / 409.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.2565, allocations: 334.8 kB / 409.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.2567, allocations: 64.53 kB / 409.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.2569, allocations: 147.4 kB / 409.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.2573, allocations: 225.2 kB / 410.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2573, allocations: 0 / 410.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005552/0.2579, allocations: 273.1 kB / 410.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.2579, allocations: 11.98 kB / 410.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2579, allocations: 0 / 410.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.2579, allocations: 4 kB / 410.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.2583, allocations: 71.91 kB / 410.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.2584, allocations: 4 kB / 410.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.2586, allocations: 43.95 kB / 410.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.2586, allocations: 11.94 kB / 410.5 MB, free: 14.2 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.0001671/0.2588, allocations: 145.7 kB / 410.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-05/0.2589, allocations: 23.84 kB / 410.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004431/0.2593, allocations: 197.1 kB / 410.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2594, allocations: 4 kB / 410.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.2594, allocations: 0 / 410.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.2594, allocations: 4 kB / 410.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000818/0.2602, allocations: 0.5936 MB / 411.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2602, allocations: 4 kB / 411.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000368/0.2606, allocations: 59.89 kB / 411.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.2606, allocations: 4 kB / 411.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.2606, allocations: 12.06 kB / 411.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2607, allocations: 4 kB / 411.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2607, allocations: 0 / 411.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007363/0.2614, allocations: 375.8 kB / 411.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.417e-05/0.2615, allocations: 109 kB / 412 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.2615, allocations: 4 kB / 412 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.2617, allocations: 15.98 kB / 412 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.2618, allocations: 15.98 kB / 412.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.2618, allocations: 4 kB / 412.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.2619, allocations: 164.5 kB / 412.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2619, allocations: 0 / 412.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003153/0.2623, allocations: 79.78 kB / 412.3 MB, free: 12.28 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.0009179/0.2632, allocations: 0.9057 MB / 413.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000426/0.2636, allocations: 190.5 kB / 413.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2636, allocations: 0 / 413.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.2638, allocations: 80.52 kB / 413.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.2641, allocations: 32.61 kB / 413.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003868/0.268, allocations: 2.834 MB / 416.3 MB, free: 8.055 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.2685, allocations: 0.7675 MB / 417.1 MB, free: 7.262 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.21e-05/0.2686, allocations: 25.94 kB / 417.1 MB, free: 7.238 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.2687, allocations: 91.39 kB / 417.2 MB, free: 7.148 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2687, allocations: 0 / 417.2 MB, free: 7.148 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/0.2994, allocations: 4.638 MB / 421.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/8.415, allocations: 27.17 kB / 421.9 MB, free: 2.602 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches