Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 213.7 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 43.92 kB / 378.3 MB, free: 2.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2552, allocations: 53.35 MB / 431.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007879/0.2631, allocations: 6.057 MB / 437.7 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003672/0.2667, allocations: 1.753 MB / 439.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.2679, allocations: 39.69 kB / 439.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006837/0.2686, allocations: 245.6 kB / 439.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006998/0.2693, allocations: 221.7 kB / 439.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.2705, allocations: 0.5265 MB / 440.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001615/0.2721, allocations: 1.391 MB / 441.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007486/0.2729, allocations: 444.2 kB / 442.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006722/0.2735, allocations: 0.4981 MB / 442.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005842/0.2741, allocations: 0.4895 MB / 443.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.2743, allocations: 124 kB / 443.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.2745, allocations: 140 kB / 443.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002331/0.2748, allocations: 267 kB / 443.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005381/0.2753, allocations: 0.6138 MB / 444.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.2771, allocations: 1.635 MB / 446.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2771, allocations: 0 / 446.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2771, allocations: 0 / 446.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.2771, allocations: 3.938 kB / 446.1 MB, free: 8.426 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002227/0.2794, allocations: 1.42 MB / 447.5 MB, free: 6.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2794, allocations: 8.031 kB / 447.5 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003806/0.2798, allocations: 175 kB / 447.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.281, allocations: 0.6872 MB / 448.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.82e-05/0.2811, allocations: 86.41 kB / 448.4 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.2813, allocations: 128 kB / 448.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.2832, allocations: 1.26 MB / 449.8 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.2833, allocations: 11.88 kB / 449.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.94e-05/0.2834, allocations: 52 kB / 449.9 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/0.2834, allocations: 35.98 kB / 449.9 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.2847, allocations: 0.6813 MB / 450.6 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006995/0.2917, allocations: 6.684 MB / 457.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007732/0.2925, allocations: 253.3 kB / 457.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/0.2928, allocations: 165.3 kB / 457.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.329e-05/0.2929, allocations: 8 kB / 457.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.293, allocations: 42.5 kB / 457.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.973e-06/0.293, allocations: 0 / 457.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002557/0.2955, allocations: 1.279 MB / 459 MB, free: 10.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/0.2956, allocations: 81.11 kB / 459.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008275/0.2964, allocations: 0.6609 MB / 459.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.2965, allocations: 33.7 kB / 459.8 MB, free: 9.988 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005155/0.297, allocations: 0.7015 MB / 460.5 MB, free: 9.277 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.895e-05/0.2971, allocations: 127 kB / 460.6 MB, free: 9.152 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.2973, allocations: 138.6 kB / 460.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.2975, allocations: 386.8 kB / 461.1 MB, free: 8.625 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.2978, allocations: 145.9 kB / 461.3 MB, free: 8.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006668/0.2984, allocations: 0.5471 MB / 461.8 MB, free: 7.738 MB / 366.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.2997, allocations: 0.8204 MB / 462.6 MB, free: 6.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.2997, allocations: 4 kB / 462.6 MB, free: 6.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001408/0.3011, allocations: 0.8026 MB / 463.4 MB, free: 5.906 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.3012, allocations: 10.97 kB / 463.5 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.3012, allocations: 16 kB / 463.5 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002579/0.3014, allocations: 85.67 kB / 463.5 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005499/0.302, allocations: 187.7 kB / 463.7 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/0.3048, allocations: 3.118 MB / 466.9 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.3052, allocations: 31.98 kB / 466.9 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.3052, allocations: 40 kB / 466.9 MB, free: 2.195 MB / 366.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004374/0.3057, allocations: 281.4 kB / 467.2 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.3058, allocations: 79.53 kB / 467.3 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.306, allocations: 70.36 kB / 467.3 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.306, allocations: 4 kB / 467.3 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.306, allocations: 8.062 kB / 467.4 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.306, allocations: 3.984 kB / 467.4 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.3079, allocations: 1.215 MB / 468.6 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3079, allocations: 0 / 468.6 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/0.3082, allocations: 71.83 kB / 468.6 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001625/0.3084, allocations: 53.69 kB / 468.7 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.3084, allocations: 11.98 kB / 468.7 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002445/0.3109, allocations: 2.842 MB / 471.5 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3109, allocations: 0 / 471.5 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009445/0.3118, allocations: 0.6326 MB / 472.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.3119, allocations: 63.48 kB / 472.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-05/0.312, allocations: 20.17 kB / 472.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.3123, allocations: 12 kB / 472.3 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.3124, allocations: 27.89 kB / 472.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.3124, allocations: 19.92 kB / 472.3 MB, free: 12.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005474/0.3129, allocations: 431 kB / 472.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3129, allocations: 0 / 472.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008951/0.3138, allocations: 160 kB / 472.9 MB, free: 11.87 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000143/0.314, allocations: 111.2 kB / 473 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.315, allocations: 0.6294 MB / 473.6 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3151, allocations: 8 kB / 473.6 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005061/0.3156, allocations: 357.2 kB / 474 MB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005495/0.3161, allocations: 75.42 kB / 474.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/0.3192, allocations: 1.854 MB / 475.9 MB, free: 8.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007062/0.3199, allocations: 1.034 MB / 477 MB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002455/0.3201, allocations: 82.03 kB / 477 MB, free: 7.605 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.3202, allocations: 55.42 kB / 477.1 MB, free: 7.551 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3202, allocations: 0 / 477.1 MB, free: 7.551 MB / 382.1 MB Notification: Performance of Templates: time 0.01367/0.3339, allocations: 6.027 MB / 483.1 MB, free: 1.559 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.732210025889799]