Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0004511/0.0004511, allocations: 0 / 0, free: 0 / 0 " [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.00052/0.00052, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.2875/0.2875, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.13e-06/5.13e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.73e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.01626/0.01629, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0313/0.04759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.002802/0.0504, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.006656/0.05705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.01024/0.0673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.005356/0.07265, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.008422/0.08107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0009098/0.08198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.002269/0.08425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.08575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002403/0.08599, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.006108/0.0921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0004335/0.09253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.001383/0.09392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.007343/0.1013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0002565/0.1015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 7.785e-06/0.1015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.555e-05/0.1015, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.01077/0.1123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0002008/0.1125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006092/0.1131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.1144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.007384/0.1218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.1219, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003241/0.1223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.004685/0.1269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 3.866e-05/0.127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001998/0.1272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-05/0.1272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003072/0.1303, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01155/0.1418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002536/0.1444, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.002194/0.1466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.01668/0.1633, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001674/0.1649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=55): time 0.0001054/0.165, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=59): time 0.01286/0.1779, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 8.996e-05/0.178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006142/0.1841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.00022/0.1843, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.001838/0.1862, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0003998/0.1866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007647/0.1873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002651/0.1876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.1889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.1904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.006967/0.1973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.71e-05/0.1974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=86) (initialization): time 0.005551/0.2029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/0.203, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003212/0.2033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/0.2045, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009213/0.2055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009622/0.2151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.2162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002231/0.2165, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 2 variables: T2.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real T1.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001874/0.2183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009061/0.2193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005437/0.2247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.2247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.119e-05/0.2247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.2247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004482/0.2292, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002942/0.2295, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006135/0.2301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/0.2313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002063/0.2315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008833/0.2403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.2403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006008/0.2463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.002318/0.2487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008995/0.2496, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009361/0.2505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007094/0.2512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/0.2514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.003656/0.255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 7.662e-05/0.2551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.003275/0.2584, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009532/0.2679, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.004204/0.2721, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.2721, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.002635/0.2748, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004467/0.2792, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05007/0.3293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002035/0.3313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0009335/0.3323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002761/0.335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.001059/0.3361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.02509/0.3612, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.006969/0.3682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.03243/0.4006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 9.418e-06/0.4006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 2.009e-05/0.4006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0.2 MB unzipped): time 0.0002374/0.4009, allocations: 0 / 0, free: 0 / 0 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 660] simulate(Modelica.Electrical.Spice3.Examples.Oscillator,startTime=0,stopTime=0.025,tolerance=1e-06,numberOfIntervals=5002,outputFormat="mat",variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=0.025 -tolerance=1e-06 -stepSize=4.998e-06 -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat",resimulateExecutable="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Oscillator.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches simulate(Modelica.Electrical.Spice3.Examples.Oscillator,startTime=0,stopTime=0.025,tolerance=1e-06,numberOfIntervals=5002,outputFormat="mat",variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=0.025 -tolerance=1e-06 -stepSize=4.998e-06 -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_me_res.mat -s fmi3:me:daskr",resimulateExecutable="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Oscillator.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_me_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_me.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches simulate(Modelica.Electrical.Spice3.Examples.Oscillator,startTime=0,stopTime=0.025,tolerance=1e-06,numberOfIntervals=5002,outputFormat="mat",variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=0.025 -tolerance=1e-06 -stepSize=4.998e-06 -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_cs_res.mat -s fmi3:cs",resimulateExecutable="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Oscillator.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_cs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_cs.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: 1.8875804730923846]