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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001785/0.001785, allocations: 116.7 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002079/0.002079, allocations: 214.3 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.5 MB / 257.4 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 67.91 kB / 377.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2825, allocations: 53.41 MB / 431.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004254/0.2868, allocations: 2.936 MB / 434.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.288, allocations: 0.7205 MB / 434.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.2882, allocations: 7.938 kB / 434.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.2884, allocations: 59.44 kB / 434.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.2886, allocations: 87.17 kB / 435 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.2889, allocations: 99.77 kB / 435.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004431/0.2893, allocations: 382.8 kB / 435.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000277/0.2896, allocations: 124.8 kB / 435.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002847/0.2899, allocations: 151.5 kB / 435.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.2901, allocations: 163.2 kB / 435.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.668e-05/0.2901, allocations: 32 kB / 435.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.255e-05/0.2902, allocations: 36 kB / 436 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.2902, allocations: 71.75 kB / 436 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.2904, allocations: 167.2 kB / 436.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004229/0.2908, allocations: 390.8 kB / 436.6 MB, free: 1.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2908, allocations: 4 kB / 436.6 MB, free: 1.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2908, allocations: 0 / 436.6 MB, free: 1.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.2908, allocations: 0 / 436.6 MB, free: 1.246 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.0009191/0.2917, allocations: 0.5443 MB / 437.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2918, allocations: 15.97 kB / 437.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.341e-05/0.2919, allocations: 66.72 kB / 437.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.516e-05/0.2919, allocations: 40.7 kB / 437.3 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.2923, allocations: 206.6 kB / 437.5 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.2923, allocations: 29.03 kB / 437.5 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-05/0.2924, allocations: 28.38 kB / 437.5 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/0.2929, allocations: 290.2 kB / 437.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.2929, allocations: 0 / 437.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.293, allocations: 16 kB / 437.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.293, allocations: 8 kB / 437.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.2934, allocations: 210.5 kB / 438 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.295, allocations: 0.9799 MB / 439 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.2953, allocations: 154.5 kB / 439.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.2956, allocations: 132.3 kB / 439.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.2956, allocations: 11.95 kB / 439.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.2957, allocations: 30.56 kB / 439.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.403e-06/0.2957, allocations: 0 / 439.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005538/0.2962, allocations: 224.2 kB / 439.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.2963, allocations: 55.41 kB / 439.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.2965, allocations: 224.1 kB / 439.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.2965, allocations: 29.7 kB / 439.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.2966, allocations: 188.4 kB / 440 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.254e-05/0.2967, allocations: 87.25 kB / 440.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.061e-05/0.2968, allocations: 45.98 kB / 440.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2969, allocations: 338.8 kB / 440.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.2971, allocations: 60.53 kB / 440.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.2973, allocations: 151 kB / 440.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.2977, allocations: 229.1 kB / 440.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2977, allocations: 4 kB / 440.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004879/0.2982, allocations: 273.3 kB / 441.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2982, allocations: 6.5 kB / 441.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2982, allocations: 4 kB / 441.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2982, allocations: 4 kB / 441.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.2985, allocations: 71.91 kB / 441.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.2985, allocations: 11.92 kB / 441.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.2987, allocations: 27.78 kB / 441.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.2987, allocations: 12 kB / 441.3 MB, free: 12.23 MB / 350.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.0001411/0.2989, allocations: 149.8 kB / 441.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.2989, allocations: 23.8 kB / 441.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004119/0.2993, allocations: 198.9 kB / 441.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2993, allocations: 0 / 441.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2993, allocations: 0 / 441.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2993, allocations: 0 / 441.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008129/0.3001, allocations: 0.5731 MB / 442.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3001, allocations: 0 / 442.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.3004, allocations: 63.89 kB / 442.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3004, allocations: 0 / 442.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.3004, allocations: 8 kB / 442.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3004, allocations: 0 / 442.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3004, allocations: 4 kB / 442.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005949/0.301, allocations: 376.2 kB / 442.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.3011, allocations: 35.83 kB / 442.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.3011, allocations: 8 kB / 442.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.3013, allocations: 15.98 kB / 442.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.3013, allocations: 19.91 kB / 442.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.3013, allocations: 8.125 kB / 442.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.3015, allocations: 159.5 kB / 442.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3015, allocations: 0 / 442.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003317/0.3018, allocations: 79.78 kB / 443 MB, free: 10.44 MB / 350.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.0008733/0.3027, allocations: 0.9134 MB / 443.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003903/0.3031, allocations: 172.2 kB / 444.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3031, allocations: 0 / 444.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.3033, allocations: 75.91 kB / 444.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.3036, allocations: 33.44 kB / 444.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003524/0.3071, allocations: 2.824 MB / 447 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.3075, allocations: 0.7636 MB / 447.8 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.538e-05/0.3076, allocations: 25.94 kB / 447.8 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.3077, allocations: 91.41 kB / 447.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3077, allocations: 0 / 447.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03257/0.3403, allocations: 4.929 MB / 452.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.11, allocations: 4.062 kB / 452.8 MB, free: 0.5273 MB / 350.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "Error: Could not read variable sineCurrent.phi in file Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv. Warning: Get data of variable sineCurrent.phi from file Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.970557354998164]